import request from '@/utils/request'

// 查询试验报告巴拉无损列表
export function listBlws(query) {
  return request({
    url: '/sybg/blws/list',
    method: 'get',
    params: query
  })
}

// 查询试验报告巴拉无损详细
export function getBlws(sybgBlwsId) {
  return request({
    url: '/sybg/blws/' + sybgBlwsId,
    method: 'get'
  })
}

// 新增试验报告巴拉无损
export function addBlws(data) {
  return request({
    url: '/sybg/blws',
    method: 'post',
    data: data
  })
}

// 修改试验报告巴拉无损
export function updateBlws(data) {
  return request({
    url: '/sybg/blws',
    method: 'put',
    data: data
  })
}

// 删除试验报告巴拉无损
export function delBlws(sybgBlwsId) {
  return request({
    url: '/sybg/blws/' + sybgBlwsId,
    method: 'delete'
  })
}
